/*******************************************************************************
*  file    : webviewwidget.hpp
*  created : 07.05.2013
*  author  : 
*******************************************************************************/

#ifndef WEBVIEWWIDGET_HPP
#define WEBVIEWWIDGET_HPP

#include <QWidget>

QT_BEGIN_NAMESPACE
class QWebView;
QT_END_NAMESPACE

class WebViewWidget : public QWidget
{
    Q_OBJECT
public:
    explicit WebViewWidget(QWidget *parent = 0);
public:
    void navigate(const QUrl& url);
protected slots:
    void finishLoading(bool);
private:
    void createActions();
private:
    QWebView*  web_view_;
};

#endif // WEBVIEWWIDGET_HPP
